package com.crazyhat.crazyhat.dto;

import com.crazyhat.crazyhat.attribute.ClubStatusEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

//社团管理传输对象
@Data
public class ClubManagementDTO {
    private int clubId;
    private String clubName;
    private String leaderName;
    private Integer currentMembers;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private ClubStatusEnum clubStatus; // 添加社团状态字段

    public void setClubStatus(ClubStatusEnum clubStatus) {
        this.clubStatus = clubStatus;
    }
}

